package com.tpshion.cloud.base.domain.vo;

import java.net.URI;

public class ServiceVo {

    /**
     * 服务名称
     */
    private String serviceName;

    /**
     * 服务主机地址
     */
    private String host;

    /**
     * 服务端口
     */
    private Integer port;

    /**
     * 是否触发保护阈值
     */
    private Boolean secure;

    private URI uri;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Boolean getSecure() {
        return secure;
    }

    public void setSecure(Boolean secure) {
        this.secure = secure;
    }

    public URI getUri() {
        return uri;
    }

    public void setUri(URI uri) {
        this.uri = uri;
    }

    @Override
    public String toString() {
        return "ServiceVo{" +
                "serviceName='" + serviceName + '\'' +
                ", host='" + host + '\'' +
                ", port=" + port +
                ", secure=" + secure +
                ", uri='" + uri + '\'' +
                '}';
    }
}
